package com.foreverwin.jzymes.production.program.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;
import java.util.Date;

/**
 * 机种程式记录表 Z_CNC_PROGRAM
 * 
 * @author ervin
 * @date 2019-05-20
 */
public class CncProgram
{
	private static final long serialVersionUID = 1L;
	
	/** 主键 */
	private String handle;
	/** 站点 */
	private String site;
	/** 机种 */
	private String machineType;
	/** 夹位 */
	private String cncType;
	/** 程式编号 */
	private String prgmCode;
	/** 版本 */
	private String revision;
	/** 版次 */
	private String subSeq;
	/** 当前版本 */
	private String currentRevision;
	/** 刀具清单 */
	private String toolBillBo;
	/** 程式文件 */
	private String prgmFile;
	/** 备注 */
	private String remark;
	/** 创建日期 */
	private Date createdDateTime;
	/** 更新日期 */
	private Date updatedDateTime;
	/** 创建人员 */
	private String createUserBo;
	/** 更新人员 */
	private String updateUserBo;

	public void setHandle(String handle) 
	{
		this.handle = handle;
	}

	public String getHandle() 
	{
		return handle;
	}
	public void setSite(String site) 
	{
		this.site = site;
	}

	public String getSite() 
	{
		return site;
	}
	public void setMachineType(String machineType) 
	{
		this.machineType = machineType;
	}

	public String getMachineType() 
	{
		return machineType;
	}
	public void setCncType(String cncType) 
	{
		this.cncType = cncType;
	}

	public String getCncType() 
	{
		return cncType;
	}
	public void setPrgmCode(String prgmCode) 
	{
		this.prgmCode = prgmCode;
	}

	public String getPrgmCode() 
	{
		return prgmCode;
	}
	public void setRevision(String revision) 
	{
		this.revision = revision;
	}

	public String getRevision() 
	{
		return revision;
	}
	public void setSubSeq(String subSeq) 
	{
		this.subSeq = subSeq;
	}

	public String getSubSeq() 
	{
		return subSeq;
	}
	public void setCurrentRevision(String currentRevision) 
	{
		this.currentRevision = currentRevision;
	}

	public String getCurrentRevision() 
	{
		return currentRevision;
	}
	public void setToolBillBo(String toolBillBo) 
	{
		this.toolBillBo = toolBillBo;
	}

	public String getToolBillBo() 
	{
		return toolBillBo;
	}
	public void setPrgmFile(String prgmFile) 
	{
		this.prgmFile = prgmFile;
	}

	public String getPrgmFile() 
	{
		return prgmFile;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}
	public void setCreatedDateTime(Date createdDateTime) 
	{
		this.createdDateTime = createdDateTime;
	}

	public Date getCreatedDateTime() 
	{
		return createdDateTime;
	}
	public void setUpdatedDateTime(Date updatedDateTime) 
	{
		this.updatedDateTime = updatedDateTime;
	}

	public Date getUpdatedDateTime() 
	{
		return updatedDateTime;
	}
	public void setCreateUserBo(String createUserBo) 
	{
		this.createUserBo = createUserBo;
	}

	public String getCreateUserBo() 
	{
		return createUserBo;
	}
	public void setUpdateUserBo(String updateUserBo) 
	{
		this.updateUserBo = updateUserBo;
	}

	public String getUpdateUserBo() 
	{
		return updateUserBo;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("handle", getHandle())
            .append("site", getSite())
            .append("machineType", getMachineType())
            .append("cncType", getCncType())
            .append("prgmCode", getPrgmCode())
            .append("revision", getRevision())
            .append("subSeq", getSubSeq())
            .append("currentRevision", getCurrentRevision())
            .append("toolBillBo", getToolBillBo())
            .append("prgmFile", getPrgmFile())
            .append("remark", getRemark())
            .append("createdDateTime", getCreatedDateTime())
            .append("updatedDateTime", getUpdatedDateTime())
            .append("createUserBo", getCreateUserBo())
            .append("updateUserBo", getUpdateUserBo())
            .toString();
    }
}
